package com.yfk.web.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class YFKVO {

    @Value("${yfk.open-api.tenantId}")
    private String tenantId;   //要登录的租户id
    @Value("${yfk.open-api.app-key}")
    private String appKey;
    @Value("${yfk.open-api.app-Secret}")
    private String appSecret;
    @Value("${yfk.open-api.baseURL}")
    private String baseURL;
    @Value("${yfk.open-api.gatewayURL}")
    private String gatewayURL;
    @Value("${yfk.open-api.suffixTokenURL}")
    private String suffixTokenURL;
    // 单据查询列表
    @Value("${yfk.open-api.suffixYFKQueryURL}")
    private String suffixYFKQueryURL;
    // 单据附件列表
    @Value("${yfk.open-api.suffixYFKBillAttachList}")
    private String suffixYFKBillAttachList;

    // 单据附件列表
    @Value("${yfk.open-api.suffixYFKPrintBillPDF}")
    private String suffixYFKPrintBillPDF;

    public YFKVO() {
    }

    public YFKVO(String tenantId, String appKey, String appSecret, String baseURL, String gatewayURL, String suffixTokenURL, String suffixYFKQueryURL, String suffixYFKBillAttachList) {
        this.tenantId = tenantId;
        this.appKey = appKey;
        this.appSecret = appSecret;
        this.baseURL = baseURL;
        this.gatewayURL = gatewayURL;
        this.suffixTokenURL = suffixTokenURL;
        this.suffixYFKQueryURL = suffixYFKQueryURL;
        this.suffixYFKBillAttachList = suffixYFKBillAttachList;
    }

    public String getSuffixYFKPrintBillPDF() {
        return suffixYFKPrintBillPDF;
    }

    public void setSuffixYFKPrintBillPDF(String suffixYFKPrintBillPDF) {
        this.suffixYFKPrintBillPDF = suffixYFKPrintBillPDF;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getBaseURL() {
        return baseURL;
    }

    public void setBaseURL(String baseURL) {
        this.baseURL = baseURL;
    }

    public String getGatewayURL() {
        return gatewayURL;
    }

    public void setGatewayURL(String gatewayURL) {
        this.gatewayURL = gatewayURL;
    }

    public String getSuffixTokenURL() {
        return suffixTokenURL;
    }

    public void setSuffixTokenURL(String suffixTokenURL) {
        this.suffixTokenURL = suffixTokenURL;
    }

    public String getSuffixYFKQueryURL() {
        return suffixYFKQueryURL;
    }

    public void setSuffixYFKQueryURL(String suffixYFKQueryURL) {
        this.suffixYFKQueryURL = suffixYFKQueryURL;
    }

    public String getSuffixYFKBillAttachList() {
        return suffixYFKBillAttachList;
    }

    public void setSuffixYFKBillAttachList(String suffixYFKBillAttachList) {
        this.suffixYFKBillAttachList = suffixYFKBillAttachList;
    }
}
